package com.kakaxi.mybilibili.bean;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 直播频道标题信息类
 * Created by kakaxi on 16/9/1.
 */

public class PartitionItemBean {

    /** 直播频道id **/
    private int id;

    /** 直播频道名称 **/
    private String name;

    /** 直播频道英文名 **/
    private String area;

    /** 直播频道人数 **/
    private int count;

    /** 直播频道图标信息 **/
    @JSONField(name = "sub_icon")
    private PartitionSubIconBean subIcon;

    public PartitionItemBean() {
    }

    public PartitionItemBean(int id, String name, String area, int count, PartitionSubIconBean
            subIcon) {
        this.id = id;
        this.name = name;
        this.area = area;
        this.count = count;
        this.subIcon = subIcon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public PartitionSubIconBean getSubIcon() {
        return subIcon;
    }

    public void setSubIcon(PartitionSubIconBean subIcon) {
        this.subIcon = subIcon;
    }

    /**
     * 直播栏目图标信息类
     */
    public static class PartitionSubIconBean {

        /** 图标链接 **/
        private String src;

        /** 图标宽度 **/
        private String width;

        /** 图标高度 **/
        private String height;

        public PartitionSubIconBean() {
        }

        public PartitionSubIconBean(String src, String width, String height) {
            this.src = src;
            this.width = width;
            this.height = height;
        }

        public String getSrc() {
            return src;
        }

        public void setSrc(String src) {
            this.src = src;
        }

        public String getWidth() {
            return width;
        }

        public void setWidth(String width) {
            this.width = width;
        }

        public String getHeight() {
            return height;
        }

        public void setHeight(String height) {
            this.height = height;
        }
    }


}
